package com.android.kmlmrg.event;

import java.util.EventObject;

import com.android.kmlmrg.model.User;

public class RestUpdateUserEvent extends EventObject {
	

	/****/
	private static final long serialVersionUID = 1L;

	private boolean isUpdate;
	
	private User user;
	
	public RestUpdateUserEvent(Object source, boolean pIsUpdate, User pUser) {
		super(source);
		setUpdate(pIsUpdate);
		setUser(pUser);
	}

	public boolean isUpdate() {
		return isUpdate;
	}

	private void setUpdate(boolean isUpdate) {
		this.isUpdate = isUpdate;
	}

	public User getUser() {
		return user;
	}

	private void setUser(User user) {
		this.user = user;
	}


}
